﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014B5 RID: 5301
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateGunPlayDataScRsp : IMessage<UpdateGunPlayDataScRsp>, IMessage, IEquatable<UpdateGunPlayDataScRsp>, IDeepCloneable<UpdateGunPlayDataScRsp>, IBufferMessage
	{
		// Token: 0x170042B8 RID: 17080
		// (get) Token: 0x0600ED00 RID: 60672 RVA: 0x002790B5 File Offset: 0x002772B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateGunPlayDataScRsp> Parser
		{
			get
			{
				return UpdateGunPlayDataScRsp._parser;
			}
		}

		// Token: 0x170042B9 RID: 17081
		// (get) Token: 0x0600ED01 RID: 60673 RVA: 0x002790BC File Offset: 0x002772BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateGunPlayDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042BA RID: 17082
		// (get) Token: 0x0600ED02 RID: 60674 RVA: 0x002790CE File Offset: 0x002772CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateGunPlayDataScRsp.Descriptor;
			}
		}

		// Token: 0x0600ED03 RID: 60675 RVA: 0x002790D5 File Offset: 0x002772D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataScRsp()
		{
		}

		// Token: 0x0600ED04 RID: 60676 RVA: 0x002790E0 File Offset: 0x002772E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataScRsp(UpdateGunPlayDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.bACCBPEJEPC_ = ((other.bACCBPEJEPC_ != null) ? other.bACCBPEJEPC_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ED05 RID: 60677 RVA: 0x0027912C File Offset: 0x0027732C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataScRsp Clone()
		{
			return new UpdateGunPlayDataScRsp(this);
		}

		// Token: 0x170042BB RID: 17083
		// (get) Token: 0x0600ED06 RID: 60678 RVA: 0x00279134 File Offset: 0x00277334
		// (set) Token: 0x0600ED07 RID: 60679 RVA: 0x0027913C File Offset: 0x0027733C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170042BC RID: 17084
		// (get) Token: 0x0600ED08 RID: 60680 RVA: 0x00279145 File Offset: 0x00277345
		// (set) Token: 0x0600ED09 RID: 60681 RVA: 0x0027914D File Offset: 0x0027734D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LIPOPPCIKOO BACCBPEJEPC
		{
			get
			{
				return this.bACCBPEJEPC_;
			}
			set
			{
				this.bACCBPEJEPC_ = value;
			}
		}

		// Token: 0x0600ED0A RID: 60682 RVA: 0x00279156 File Offset: 0x00277356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateGunPlayDataScRsp);
		}

		// Token: 0x0600ED0B RID: 60683 RVA: 0x00279164 File Offset: 0x00277364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateGunPlayDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.BACCBPEJEPC, other.BACCBPEJEPC) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ED0C RID: 60684 RVA: 0x002791B4 File Offset: 0x002773B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.bACCBPEJEPC_ != null)
			{
				num ^= this.BACCBPEJEPC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ED0D RID: 60685 RVA: 0x00279209 File Offset: 0x00277409
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ED0E RID: 60686 RVA: 0x00279211 File Offset: 0x00277411
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ED0F RID: 60687 RVA: 0x0027921C File Offset: 0x0027741C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.bACCBPEJEPC_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.BACCBPEJEPC);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ED10 RID: 60688 RVA: 0x00279278 File Offset: 0x00277478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.bACCBPEJEPC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BACCBPEJEPC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ED11 RID: 60689 RVA: 0x002792D0 File Offset: 0x002774D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateGunPlayDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.bACCBPEJEPC_ != null)
			{
				if (this.bACCBPEJEPC_ == null)
				{
					this.BACCBPEJEPC = new LIPOPPCIKOO();
				}
				this.BACCBPEJEPC.MergeFrom(other.BACCBPEJEPC);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ED12 RID: 60690 RVA: 0x00279338 File Offset: 0x00277538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ED13 RID: 60691 RVA: 0x00279344 File Offset: 0x00277544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.bACCBPEJEPC_ == null)
					{
						this.BACCBPEJEPC = new LIPOPPCIKOO();
					}
					input.ReadMessage(this.BACCBPEJEPC);
				}
			}
		}

		// Token: 0x04005DBE RID: 23998
		private static readonly MessageParser<UpdateGunPlayDataScRsp> _parser = new MessageParser<UpdateGunPlayDataScRsp>(() => new UpdateGunPlayDataScRsp());

		// Token: 0x04005DBF RID: 23999
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DC0 RID: 24000
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04005DC1 RID: 24001
		private uint retcode_;

		// Token: 0x04005DC2 RID: 24002
		public const int BACCBPEJEPCFieldNumber = 6;

		// Token: 0x04005DC3 RID: 24003
		private LIPOPPCIKOO bACCBPEJEPC_;
	}
}
